package com.jtjrenren.android.taxi.driver.bean.event;

import java.util.Map;

/**
 * Created by Administrator on 2016/5/10.
 */
public class MainServiceEvent {
    public static final int COMMOND_SPEAK_START = 0;  //开启tts
    public static final int COMMOND_SPEAK_STOP = 1; //关闭tts
    public static final int COMMOND_SPEAK_SPEAK = 2;//说话
    public static final int COMMOND_SPEAK_INITFILE = 3;//初始化tts的相关本地文件配置
    public static final int COMMOND_SPEAK_STOPS = 4;//初始化tts的相关本地文件配置

    public static final int COMMOND_LOC_START = 10; //开启定位
    public static final int COMMOND_LOC_STOP = 11; //关闭定位
    public static final int COMMOND_LOC_REQUSTLOC = 12; //请求定位

    public static final int COMMOND_NAV_INIT = 20; //开启导航
    public static final int COMMOND_NAV_NAV = 21; //开启导航
    public static final int COMMOND_NAV_STOP = 22; //开启导航

    public static final int COMMOND_CALCDIS_START = 30; //计算距离开始
    public static final int COMMOND_CALCDIS_STOP = 31; //计算距离结束

    public static final int COMMOND_LOC_SEND_OPEN = 40; //上传定位，无终端
    public static final int COMMOND_LOC_SEND_CLOSE = 41; //关闭上传定位，无终端
    public static final int COMMOND_LOC_SEND_REQUEST = 42; //关闭上传定位，无终端

    public static final int COMMOND_CONTROL_START = 50; //开启调度中心
    public static final int COMMOND_CONTROL_STOP = 51; //关闭调度中心
    public static final int COMMOND_CONTROL_SEND = 52; //向调度中心发送数据

    public static final int COMMOND_API_DRIVERDETAILS = 200; //后台刷新用户的详细信息

    public static final int COMMOND_USER_EXIT = 1000; //用户退出
    public static final int COMMOND_USER_LOGIN = 1001; //用户登录


    private int mode;
    private Map<String, Object> values;

    public MainServiceEvent(int mode, Map<String, Object> values) {
        this.mode = mode;
        this.values = values;
    }

    public int getMode() {
        return mode;
    }

    public void setMode(int mode) {
        this.mode = mode;
    }

    public Map<String, Object> getValues() {
        return values;
    }

    public void setValues(Map<String, Object> values) {
        this.values = values;
    }
}
